var res = wx.getSystemInfoSync() // 获取系统信息同步接口

const screen = {
  WIN_WIDTH: res.screenWidth,
  WIN_HEIGHT: res.screenHeight,
  IS_IOS: /ios/i.test(res.system),
  IS_ANDROID: /android/i.test(res.system),
  STATUS_BAR_HEIGHT: res.statusBarHeight,
  DEFAULT_HEADER_HEIGHT: 46, // res.screenHeight - res.windowHeight - res.statusBarHeight
  DEFAULT_CONTENT_HEIGHT: res.screenHeight - res.statusBarHeight - 46
}

export default screen
